package com.ict.bills.domain;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author: Lizbeth9421
 * @Date: 2021/10/10/0:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bills {
    private Integer id;

    private String title;

    private Date billtime;

    private Integer typeid;

    //类型id对应的类型名字
    private String typeName;

    private Double price;

    private String remark;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;

    /**
     * 分页参数
     */
    private Integer page;
    private Integer limit;
}